weight = 50

n = 0.5/weight

for i in range(10):

    weight = weight*(1+n)

print("On earth: {:.2f}kg".format(weight))

print("On moon: {:.2f}kg".format(0.165*weight))